<script setup lang="ts">
import { Fullscreen1Icon, FullscreenExit1Icon } from 'tdesign-icons-vue-next'
import { useFullScreen } from '@/utils/fullScreen'

const { isFullScreen, changeFullScreen } = useFullScreen()
</script>
<template>
  <t-button variant="text" shape="square" @click="changeFullScreen()">
    <Fullscreen1Icon v-if="!isFullScreen" />
    <FullscreenExit1Icon v-else />
  </t-button>
</template>
